<?xml version="1.0" encoding="UTF-8"?>
<!--
    Document   : BuscarProduto
    Created on : 02/06/2009, 09:17:00
    Author     : Alex C.
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ice="http://www.icesoft.com/icefaces/component" xmlns:jsp="http://java.sun.com/JSP/Page">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ice:outputHtml id="outputHtml1">
            <ice:outputHead id="outputHead1">
                <ice:outputStyle href="./resources/stylesheet.css" id="outputStyle1"/>
                <ice:outputStyle href="./xmlhttp/css/rime/rime.css" id="outputStyle2"/>
                <ice:outputStyle href="./resources/css/formata_conteudo.css" id="outputStyle3"/>
                <script language="JavaScript" src="./view/js/Calculo.js" type="text/javascript"></script>
            </ice:outputHead>
            <ice:outputBody id="outputBody1" style="-rave-layout: grid">
                <ice:form id="form1">
                    <!-- Painel Principal -->
                    <ice:panelGroup id="painelPrincipal" styleClass="principal">
                        <!-- Painel Cabeçalho -->
                        <ice:panelLayout id="panelLayoutCabecalho" style=" -rave-layout: grid" styleClass="cabecalho">
                            <ice:commandButton id="panelLayoutLogo" image="/resources/images/logo_soligee.png" styleClass="logo"/>
                        </ice:panelLayout>
                        <!-- Fim - Painel Cabeçalho -->
                        <!-- Painel Título -->
                        <ice:panelLayout id="painelTitulo" style="-rave-layout: grid" styleClass="titulo bCheque">
                            <!-- Painel Voltar -->
                            <ice:panelLayout id="painelVoltar" styleClass="pnVoltar">
                                <ice:commandButton action="#{view$BuscarCheque.btn_voltar_action}" id="btn_voltar" image="/resources/images/btn/voltar.png" styleClass="btnVoltar"/>
                            </ice:panelLayout>
                            <!-- Fim Painel Voltar -->
                        </ice:panelLayout>
                        <!-- Painel Busca -->
                        <ice:panelLayout id="panelPainelBusca" style="-rave-layout: grid" styleClass="painelBusca">
                            <!-- Botão Alterar -->
                            <ice:commandButton action="#{view$BuscarCheque.btnAlterar_action}" binding="#{view$BuscarCheque.btnAlterar}" id="btnAlterar"
                                immediate="true" styleClass="btnAlterar" value="Alterar"/>
                            <!-- Botão Confirmar Alteração -->
                            <ice:commandButton action="#{view$BuscarCheque.btnConfirmarAlteracao_action}" binding="#{view$BuscarCheque.btnConfirmarAlteracao}"
                                id="btnConfirmarAlteracao" styleClass="btnAlterar" value="Confirmar Alteração"/>
                            <!-- Botão Excluir -->
                            <ice:selectOneRadio binding="#{view$BuscarCheque.radioOpcaoBusca}" id="radioOpcaoBusca" partialSubmit="true" styleClass="entradaTxt"
                                value="#{view$BuscarCheque.selectOneRadio1Bean.selectedObject}" valueChangeListener="#{view$BuscarCheque.radioOpcaoBusca_processValueChange}">
                                <f:selectItems id="selectOneRadio1selectItems" value="#{view$BuscarCheque.selectOneRadio1DefaultItems}"/>
                            </ice:selectOneRadio>
                        </ice:panelLayout>
                        <!-- Painel Corpo -->
                        <ice:panelLayout id="painelCorpo" styleClass="pnCorpo">
                            <!-- Painel Corpo Esquerda -->
                            <ice:panelLayout id="painelCorpoEsquerda" styleClass="pnCorpoEsquerda">
                                <!-- Tabela ResultadoBusca -->
                                <center>
                                    <ice:selectInputDate binding="#{view$BuscarCheque.dataBusca}" converter="#{view$BuscarCheque.sqlDateConverter1}"
                                        id="dataBusca" renderAsPopup="true" renderMonthAsDropdown="true" renderYearAsDropdown="true"
                                        value="#{view$BuscarCheque.selectInputDateBean2.date1}" valueChangeListener="#{view$BuscarCheque.dataBusca_processValueChange}"/>
                                    <ice:dataTable binding="#{view$BuscarCheque.tabelaBuscarCheque}" id="tabelaBuscarCheque"
                                        value="#{view$BuscarCheque.dataTable1Model}" var="currentRow">
                                        <ice:column id="codigo">
                                            <h:commandLink action="#{view$BuscarCheque.linkAction1_action}" id="linkAction1" value="#{currentRow.codCheque}"/>
                                            <f:facet name="header">
                                                <ice:outputText id="outputText2" value="Código"/>
                                            </f:facet>
                                        </ice:column>
                                        <ice:column id="column1">
                                            <ice:outputText id="outputText1" value="#{currentRow.dataLancamento}"/>
                                            <f:facet name="header">
                                                <ice:outputText id="outputText8" value="Data Lançamento"/>
                                            </f:facet>
                                        </ice:column>
                                        <ice:column id="column4">
                                            <ice:outputText id="outputText9" value="#{currentRow.dataDeposito}"/>
                                            <f:facet name="header">
                                                <ice:outputText id="outputText10" value="Data Deposito"/>
                                            </f:facet>
                                        </ice:column>
                                        <ice:column id="column2">
                                            <ice:outputText id="outputText3" value="#{currentRow.banco.nomeBanco}"/>
                                            <f:facet name="header">
                                                <ice:outputText id="outputText4" value="Banco"/>
                                            </f:facet>
                                        </ice:column>
                                        <ice:column id="column3">
                                            <ice:outputText id="outputText5" value="#{currentRow.valor}"/>
                                            <f:facet name="header">
                                                <ice:outputText id="outputText6" value="Valor"/>
                                            </f:facet>
                                        </ice:column>
                                    </ice:dataTable>
                                </center>
                            </ice:panelLayout>
                            <!-- Painel Corpo Direita -->
                            <ice:panelLayout id="painelCorpoDireita" layout="flow" styleClass="pnCorpoDireita">
                                <!-- Painel - Buscar PessoaProduto -->
                                <ice:panelTabSet id="painelAbasCheque" styleClass="pnTabSet" tabPlacement="Top">
                                    <ice:panelTab id="aba01" label="Dados do Cheque" style="z-index:2;">
                                        <ice:panelLayout id="conteudoAbaProduto" layout="flow" styleClass="pnLayConteudo">
                                            <!--Link Mais Informações -->
                                            <!--Link Cancelar -->
                                            <ice:panelLayout id="panelLayoutA1" layout="flow" styleClass="pnLayForm1 pBusca">
                                                <!-- Código -->
                                                <ice:outputLabel id="tx_codigo" styleClass="rotulo gd" value="Cód."/>
                                                <ice:inputText binding="#{view$BuscarCheque.campoCodCheque}" id="campoCodCheque" styleClass="entradaTxt pq"/>
                                                <!--Número do Cheque -->
                                                <ice:outputLabel id="tx_numeroCheque" styleClass="rotulo gd" value="Número do Cheque: "/>
                                                <ice:inputText binding="#{view$BuscarCheque.campoNumeroCheque}" id="campoNumeroCheque" styleClass="entradaTxt md"/>
                                                <!--Banco -->
                                                <ice:outputLabel id="tx_banco" styleClass="rotulo md" value="Banco: "/>
                                                <ice:selectOneMenu binding="#{view$BuscarCheque.comboBanco}" id="comboBanco" partialSubmit="true"
                                                    styleClass="entradaTxt" value="#{view$BuscarCheque.selectOneMenu1Bean.selectedObject}">
                                                    <f:selectItems id="selectOneMenu1selectItems" value="#{view$BuscarCheque.comboBancoDefaultItems}"/>
                                                </ice:selectOneMenu>
                                                <!--Agência -->
                                                <ice:outputLabel id="tx_agencia" styleClass="rotulo gd" value="Agência:"/>
                                                <ice:inputText binding="#{view$BuscarCheque.campoAgencia}" id="campoAgencia" styleClass="entradaTxt md"/>
                                                <!--Número da Conta -->
                                                <ice:outputLabel id="tx_numeroConta" styleClass="rotulo gd" value="Número da Conta:"/>
                                                <ice:inputText binding="#{view$BuscarCheque.campoNumeroConta}" id="campoNumeroConta" styleClass="entradaTxt md"/>
                                                <ice:outputLabel id="tx_valor" styleClass="rotulo gd" value="Valor:"/>
                                                <ice:inputText binding="#{view$BuscarCheque.campoValor}" id="campoValor" styleClass="entradaTxt md"/>
                                            </ice:panelLayout>
                                            <ice:panelLayout id="panelLayoutA2" layout="flow" styleClass="pnLayForm2 pBusca">
                                                <!--Situação -->
                                                <ice:outputLabel id="tx_situacao" styleClass="rotulo md" value="Situação:"/>
                                                <ice:selectOneMenu binding="#{view$BuscarCheque.comboSitucao}" id="comboSitucao" partialSubmit="true"
                                                    styleClass="entradaTxt" value="#{view$BuscarCheque.defaultSelectedData1.selectedObject}">
                                                    <f:selectItems id="selectOneMenu1selectItems1" value="#{view$BuscarCheque.selectOneMenu1DefaultItems1}"/>
                                                </ice:selectOneMenu>
                                                <ice:outputLabel id="tx_emitente" styleClass="rotulo md" value="Emitente: "/>
                                                <ice:inputText binding="#{view$BuscarCheque.campoEmitente}" id="campoEmitente" styleClass="entradaTxt md"/>
                                                <!--Data Lancamento -->
                                                <ice:outputLabel id="tx_observacao" styleClass="rotulo md" value="Observação/Referente:"/>
                                                <ice:inputText binding="#{view$BuscarCheque.campoObservacao}" id="campoObservacao" styleClass="entradaTxt gd"/>
                                                <!--Data Deposito -->
                                                <ice:outputLabel id="tx_dataLancamento" styleClass="rotulo md" value="Data de Lançamento: "/>
                                                <ice:selectInputDate binding="#{view$BuscarCheque.dataLancamento}" id="dataLancamento"
                                                    inputTitle="Data de Realização do Orçamento." partialSubmit="true" popupDateFormat="dd/MM/yyyy"
                                                    renderAsPopup="true" renderMonthAsDropdown="true" renderYearAsDropdown="true" styleClass="entradaTxt"/>
                                                <ice:outputLabel id="tx_dataDeposito" styleClass="rotulo md" value="Data de Depósito: "/>
                                                <ice:selectInputDate binding="#{view$BuscarCheque.dataDeposito}" id="dataDeposito"
                                                    inputTitle="Data de Realização do Orçamento." partialSubmit="true" popupDateFormat="dd/MM/yyyy"
                                                    renderAsPopup="true" renderMonthAsDropdown="true" renderYearAsDropdown="true" styleClass="entradaTxt"/>
                                                <ice:commandButton action="#{view$BuscarCheque.botaoMudarSituacao_action}"
                                                    binding="#{view$BuscarCheque.botaoMudarSituacao}" id="botaoMudarSituacao" styleClass="entradaTxt" value="Mudar SItuação"/>
                                            </ice:panelLayout>
                                            <ice:commandLink id="tx_opCancelarAba01" immediate="true" styleClass="entradaTxt"/>
                                        </ice:panelLayout>
                                    </ice:panelTab>
                                </ice:panelTabSet>
                                <!-- Fim Painel Buscar PessoaProduto -->
                            </ice:panelLayout>
                            <!-- Fim Painel Corpo Direita -->
                            <!-- Painel Rodapé -->
                            <ice:panelLayout id="painelRodape" layout="flow" styleClass="boxRodape">
                                <ice:panelLayout id="painelRodapeEsq" styleClass="esqRodape"/>
                                <ice:panelLayout id="logoRodape" styleClass="logoRodape"/>
                                <ice:panelLayout id="painelRodapeDir" styleClass="dirRodape"/>
                            </ice:panelLayout>
                            <!-- Fim Painel Rodapé -->
                        </ice:panelLayout>
                        <!-- Fim - Painel Corpo -->
                    </ice:panelGroup>
                    <!-- Fim - Painel Principal -->
                    <!--Inicio - Janela Pop-up -->
                    <ice:panelPopup autoCentre="true" binding="#{view$BuscarCheque.panelPopup}" draggable="true" id="panelPopup" modal="true"
                        style="left: 8px; top: 536px; position: absolute" styleClass="jpopup">
                        <f:facet name="header">
                            <ice:outputText id="outputText7" value="Atenção"/>
                        </f:facet>
                        <f:facet name="body">
                            <ice:panelGroup id="panelPopBody" styleClass="jpopBody">
                                <ice:panelLayout id="panelPopTxt" styleClass="jpopTxt">
                                    <ice:outputText binding="#{view$BuscarCheque.textoPopUp}" id="textoPopUp" value="body text"/>
                                </ice:panelLayout>
                                <ice:panelLayout id="panelPopBtn" styleClass="jpopBtn">
                                    <ice:commandButton action="#{view$BuscarCheque.btnPopUp1_action}" binding="#{view$BuscarCheque.btnPopUp1}" id="btnPopUp1" value="submit"/>
                                    <ice:commandButton action="#{view$BuscarCheque.btnPopUp2_action}" binding="#{view$BuscarCheque.btnPopUp2}" id="btnPopUp2" value="submit"/>
                                </ice:panelLayout>
                            </ice:panelGroup>
                        </f:facet>
                    </ice:panelPopup>
                    <!--Inicio - Janela Pop-up -->
                </ice:form>
            </ice:outputBody>
        </ice:outputHtml>
    </f:view>
</jsp:root>
